package cn.train.dao;

import java.util.List;
import java.util.Map;

import cn.train.model.Contable;
import cn.train.model.UserTable;




public interface IUserTableDao {

	int getCount();

	List<UserTable> getUserByPage(int pageIndex,int pageSize);

	boolean updateUserTab(UserTable usertable);

	UserTable getUser(String uname);

	boolean addUser(UserTable usertable);

	UserTable login(Map<String, String> map);
	
	int updatelogintable();
	
	boolean updatexinxi(UserTable usertable);
	
	boolean findPass(String name,String question,String pass);
	
	
	List<UserTable> getAll();

	List<Contable> getContable(int uid);
	UserTable getidcid(String uname);
	
	UserTable getTable(String realname);

}
